package com.jic.interaction.JDVOP.model.enyity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName PaymentData
 * TODO
 * @Description
 * @Author chenhongfeng
 * @Date 2020/11/16 17:23
 * @Version 1.0
 **/
@Data
public class PaymentData {
    @ApiModelProperty(notes = "余额明细ID")
    private Long id;
    @ApiModelProperty(notes = "账户类型  1：可用余额 2：锁定余额")
    private Integer accountType;
    /**
     * 金额（元），有正负，可以是零，表示订单流程变化，如退款时会先有一条退款申请的记录，金额为0
     */
    @ApiModelProperty(notes = "金额（元")
    private BigDecimal amount;
    @ApiModelProperty(notes = "京东Pin")
    private String pin;
    @ApiModelProperty(notes = "订单号")
    private String orderId;
    @ApiModelProperty(notes = "业务类型")
    private Integer tradeType;
    @ApiModelProperty(notes = "业务类型名称")
    private String tradeTypeName;
    @ApiModelProperty(notes = "余额变动日期")
    private Date createdDate;
    @ApiModelProperty(notes = "备注信息")
    private String notePub;
    /**
     * 业务号，一般由余额系统，在每一次操作成功后自动生成，也可以由前端业务系统传入
     */
    @ApiModelProperty(notes = "业务号")
    private Long tradeNo;
}
